<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{#$title#}</title>
<meta http-equiv="X-UA-Compatible" content="IE=7">


<link href="{#$QISHI.site_template#}css/common.css" rel="stylesheet" type="text/css" />
<link href="{#$QISHI.site_template#}css/user.css" rel="stylesheet" type="text/css" />
<script>
function chk_form()
{
var password=document.Form1.password.value;
var password1=document.Form1.password1.value;
if (document.Form1.oldpassword.value=="")
	{
	alert("請輸入舊密碼")
	document.Form1.oldpassword.focus();
	return (false);
	}
if (password=="" || password.length<6 || password.length>18 )
	{
	alert("新密碼長度為6-18位")
	document.Form1.password.focus();
	return (false);
	}
if (password !=password1)
	{
	alert("兩次輸入密碼不同！")
	document.Form1.password.focus();
	return (false);
	}
return (true);
}
</script>
<body>
{#include file="header.htm"#}
<table width="960" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:8px;" >
  <tr>
    <td width="208" valign="top" class="link_bk">
	{#include file="member_personal/personal_left.htm"#}
	</td>
    <td valign="top">
	<form id="Form1" name="Form1" method="post" action="?act=save_password" onsubmit="return chk_form();">
	<table width="100%" border="0" cellpadding="4" cellspacing="0" bgcolor="#FFFFFF" class="user_right_box">
      <tr>
        <td height="22" colspan="2" class="user_right_box_bg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td><span class="right_top_tit" style="padding-left:15px;">密碼修改</span></td>
              <td class="link_lan" align="right"><a href="?">管理首頁</a></td>
            </tr>
        </table></td>
      </tr>
      <tr>
        <td width="226" height="30" align="right" bgcolor="#FFFFFF"  style=" border-bottom:1px #CCCCCC dashed"><span style="color:#FF3300; font-weight:bold">*</span>舊密碼：</td>
        <td  style=" border-bottom:1px #CCCCCC dashed"><input name="oldpassword" type="password" class="company_mb_input" id="oldpassword" maxlength="18" /></td>
      </tr>
      <tr>
        <td height="30" align="right" bgcolor="#FFFFFF" style=" border-bottom:1px #CCCCCC dashed"><span style="color:#FF3300; font-weight:bold">*</span>新密碼：</td>
        <td bgcolor="#FFFFFF" style=" border-bottom:1px #CCCCCC dashed"><input name="password" type="password" class="company_mb_input" id="password" maxlength="18"  /></td>
      </tr>
      <tr>
        <td height="30" align="right" bgcolor="#FFFFFF" style=" border-bottom:1px #CCCCCC dashed"><span style="color:#FF3300; font-weight:bold">*</span>再次輸入新密碼： </td>
        <td bgcolor="#FFFFFF" style=" border-bottom:1px #CCCCCC dashed"><input name="password1" type="password" class="company_mb_input" id="password1" maxlength="18"  /></td>
      </tr>
      <tr>
        <td height="30" align="right" bgcolor="#FFFFFF"  >&nbsp;</td>
        <td bgcolor="#FFFFFF" ><input type="submit" name="Submit" value="確定修改"  class="member_submit" /></td>
      </tr>
      <tr>
        <td height="30" align="right" bgcolor="#FFFFFF"  >&nbsp;</td>
        <td bgcolor="#FFFFFF" >&nbsp;</td>
      </tr>      
    </table>
	    </form>	
	</td>
  </tr>
</table>
{#include file="footer.htm"#}
</body>
</html>
